<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--<link rel="stylesheet" type="text/css" href="../public/css/styles.css" />-->
<load href="../Public/css/styles.css" />
<title>{$title}</title>
<!--[if IE 6]>
	<load href="../Public/js/ie6-png.js" />
    <script language="javascript" type="text/javascript">
    	DD_belatedPNG.fix(".sideBar_two img,.li-item1,.li-item2,.li-item3,.li-item4,.li-item5,.main_top img");
    </script>
<![endif]-->
</head>

<body>
	<div class="headlogin">
		<div>
			<if condition="$userName eq ''">
				<a href="{$nav_login}">login</a>&nbsp;&nbsp;&nbsp;<a href="{$nav_register}">register</a>
			<else/>
				<a href="{$nav_logout}">logout</a>
			</if>

		</div>
	</div>
   <div id="header">
        <h1 class="logo"><a href="__ROOT__/apps"><img alt="index.php" src="../Public/images/logo.gif" /></a></h1>
       <if condition="$userName neq ''">
	   <div class="top_tips">
            <span class="tips_One">Current c2earn points</span>
            <span class="tips_zero">{$userPoints}</span>
        </div>
		</if>
        <div class="topBar">
            <span>Seeing Ad, Earning Points
    and Redeem Gift Cards
            </span>
        </div>
        
         <ul class="nav">
         
            <li class="selected li-item1">
                <a href="{$nav_index}">
                    <b class="nav_bd_left" <if condition="$MODULE_NAME eq 'Index'">style="background: url(../Public/images/nav_hover_left.gif);"</if>></b>
                    <span class="nav_middle_bd" <if condition="$MODULE_NAME eq 'Index'">style="background: url(../Public/images/nav_hover_middle.gif);"</if>><b class="li-item1" >Earn points</b></span>
                    <b class="nav_bd_right" <if condition="$MODULE_NAME eq 'Index'">style=" background:url(../Public/images/nav_hover_right.gif);"</if>></b>
                </a>         
            </li>
            <li>
                <a href="{$nav_coupons}">
                    <b class="nav_bd_left" <if condition="$MODULE_NAME eq 'Coupon'">style="background: url(../Public/images/nav_hover_left.gif);"</if>></b>
                    <span class="nav_middle_bd setWrap-item2" <if condition="$MODULE_NAME eq 'Coupon'">style="background: url(../Public/images/nav_hover_middle.gif);"</if>><b class="li-item2">Redeem gift card</b></span>
                    <b class="nav_bd_right" <if condition="$MODULE_NAME eq 'Coupon'">style=" background:url(../Public/images/nav_hover_right.gif);"</if>></b>
                </a>         
            </li>
            <li class="li-item3">
                <a href="###">
                    <b class="nav_bd_left" <if condition="$MODULE_NAME eq 'CouponFree'">style="background: url(../Public/images/nav_hover_left.gif);"</if>></b>
                    <span class="nav_middle_bd" <if condition="$MODULE_NAME eq 'CouponFree'">style="background: url(../Public/images/nav_hover_middle.gif);"</if>><b class="li-item3">Free coupons</b></span>
                    <b class="nav_bd_right" <if condition="$MODULE_NAME eq 'CouponFree'">style=" background:url(../Public/images/nav_hover_right.gif);"</if>></b>
                </a>         
            </li>
            <li class="li-item4">
                <a href="####">
                    <b class="nav_bd_left" <if condition="$MODULE_NAME eq 'Help'">style="background: url(../Public/images/nav_hover_left.gif);"</if>></b>
                    <span class="nav_middle_bd" <if condition="$MODULE_NAME eq 'Help'">style="background: url(../Public/images/nav_hover_middle.gif);"</if>><b class="li-item4">Help</b></span>
                    <b class="nav_bd_right" <if condition="$MODULE_NAME eq 'Help'">style=" background:url(../Public/images/nav_hover_right.gif);"</if>></b>
                </a>         
            </li>
            <li class="li-item5">
                <a href="####">
                    <b class="nav_bd_left" <if condition="$MODULE_NAME eq 'Web'">style="background: url(../Public/images/nav_hover_left.gif);"</if>></b>
                    <span class="nav_middle_bd" <if condition="$MODULE_NAME eq 'Web'">style="background: url(../Public/images/nav_hover_middle.gif);"</if>><b class="li-item5">c2earn website</b></span>
                    <b class="nav_bd_right" <if condition="$MODULE_NAME eq 'Web'">style=" background:url(../Public/images/nav_hover_right.gif);"</if>></b>
                </a>         
            </li>
          </ul><!-- end:nav -->
    </div><!-- end:header -->